﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class Admin_home_refinance_ViewHFCustomerLoanInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            //txtPostedDate.Text = CE.Global.General.GetUTCDateTime().Year.ToString("0000") + CE.Global.General.GetUTCDateTime().Month.ToString("00") + CE.Global.General.GetUTCDateTime().Day.ToString("00");
            txtPostedDate.Text = CE.Global.General.GetUTCDateTime().Year.ToString("0000") + CE.Global.General.GetUTCDateTime().Month.ToString("00") + CE.Global.General.GetUTCDateTime().Day.ToString("00");
            hplViewAppDetails.NavigateUrl = "";
        }
    }


    protected void gvCustomerInfo_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (gvCustomerInfo.SelectedIndex >= 0)
        {
            //hplViewAppDetails.NavigateUrl = "ViewHFCustomerAppDetail.aspx?HFID=" + gvCustomerInfo.SelectedDataKey[0].ToString() + "&IsMain=1";
            //hplViewAppDetails.Target = "_blank";
        }

        hplViewAppDetails.NavigateUrl = "ViewHFCustomerAppDetail.aspx?HFID=" + gvCustomerInfo.SelectedDataKey[0].ToString() + "&IsMain=1";
        hplViewPropertyDetails.NavigateUrl = "ViewHFPropertyDetails.aspx?HFID=" + gvCustomerInfo.SelectedDataKey[0].ToString();
    }


    protected void btnSearch_Click(object sender, EventArgs e)
    {
        hplViewAppDetails.NavigateUrl = "";
        hplViewPropertyDetails.NavigateUrl = "";
    }
}
